package com.niu.wm.dao.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.niu.wm.model.ProductCategory;

public interface ProductCategoryMapper {	
	int insert(ProductCategory category);
	
	int update(ProductCategory category);
	
	int delete(Long id);
	
	ProductCategory selectByPrimaryKey(Long id);
	
	ProductCategory selectByCode(String code);
	
	List<ProductCategory> list();
}
